package com.wavefront.obj.parser;

import com.wavefront.obj.parser.line.CommentParser;
import com.wavefront.obj.parser.line.FaceParser;
import com.wavefront.obj.parser.line.FreeFormParser;
import com.wavefront.obj.parser.line.MaterialLibararyParser;
import com.wavefront.obj.parser.line.MaterialParser;
import com.wavefront.obj.parser.line.NormalParser;
import com.wavefront.obj.parser.line.ObjectParser;
import com.wavefront.obj.parser.line.TextureCooParser;
import com.wavefront.obj.parser.line.VertexParser;

public class ObjLineParserFactory extends LineParserFactory {

	public ObjLineParserFactory() {
		parsers.put("o", new ObjectParser());
		parsers.put("v", new VertexParser());
		parsers.put("vn", new NormalParser());
		parsers.put("vp", new FreeFormParser());
		parsers.put("vt", new TextureCooParser());
		parsers.put("f", new FaceParser());
		parsers.put("#", new CommentParser());
		parsers.put("mtllib", new MaterialLibararyParser());
		parsers.put("usemtl", new MaterialParser());
	}

}
